package com.untour.seqid.config.exception;

import com.untour.im.common.enums.CodeEnum;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public enum SeqIdExceptionCode implements CodeEnum {
    EXCEPTION_ID_IDCACHE_INIT_FALSE("120000","初始化失败"),
    EXCEPTION_ID_KEY_NOT_EXISTS("120001","key不存在"),
    EXCEPTION_ID_TWO_SEGMENTS_ARE_NULL("120002","装载异常"),
    GET_ID_ERROR("120003","获取id失败"),
    LOAD_ID_ERROR("120005","装载id异常")
    ;

    private String code;
    private String message;
}
